package com.atguigu.day05.test;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/11/4 15:55
 * @注释
 */
public class ArrayTest06 {
    public static void main(String[] args) {
        int[] arr = {1,2,3,4};
        System.out.println(arr[0]);
        System.out.println(arr[1]);

        int[] arr2 = {9, 8, 7, 6, 5};
        arr = arr2;
        System.out.println(arr[0]);
        System.out.println(arr[1]);
    }
}
